package com.ruoyi.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.util.List;

/**
 * 项目人员对象 project_user
 * 
 * @author ruoyi
 * @date 2025-03-11
 */
@Data
public class ProjectUser
{
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "项目id")
    private Integer projectId;

    @ApiModelProperty(value = "账号id")
    private Integer userId;

    @ApiModelProperty("项目名称")
    @TableField(exist = false)
    private String projectName;

    @ApiModelProperty("姓名")
    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String roleNames;

    @TableField(exist = false)
    private List<Integer> userIdList;
}
